.ex-modal {
  min-height: 64px;

  display: grid;
  grid-template-rows: 1fr auto;

  > .modal-body {
    overflow: hidden;

    > .body {
      padding: 12px 24px;
      overflow-y: auto;
      @include wh();
    }
  }

  > .modal-footer {
    padding: 20px 24px;
    padding-top: 12px;
    text-align: end;
    background: transparent;
    transition: height 0.3s ease-in-out;

    > .ant-btn {
      margin-bottom: 0;
      margin-inline-start: 8px;

      &:first-child {
        margin-inline-start: 0;
      }
    }
  }
}
